/*  zwt */
package cn.mandy.sysadmin.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MonitorHostExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MonitorHostExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andIpAddrIsNull() {
            addCriterion("ip_addr is null");
            return (Criteria) this;
        }

        public Criteria andIpAddrIsNotNull() {
            addCriterion("ip_addr is not null");
            return (Criteria) this;
        }

        public Criteria andIpAddrEqualTo(String value) {
            addCriterion("ip_addr =", value, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrNotEqualTo(String value) {
            addCriterion("ip_addr <>", value, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrGreaterThan(String value) {
            addCriterion("ip_addr >", value, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrGreaterThanOrEqualTo(String value) {
            addCriterion("ip_addr >=", value, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrLessThan(String value) {
            addCriterion("ip_addr <", value, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrLessThanOrEqualTo(String value) {
            addCriterion("ip_addr <=", value, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrLike(String value) {
            addCriterion("ip_addr like", value, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrNotLike(String value) {
            addCriterion("ip_addr not like", value, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrIn(List<String> values) {
            addCriterion("ip_addr in", values, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrNotIn(List<String> values) {
            addCriterion("ip_addr not in", values, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrBetween(String value1, String value2) {
            addCriterion("ip_addr between", value1, value2, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andIpAddrNotBetween(String value1, String value2) {
            addCriterion("ip_addr not between", value1, value2, "ipAddr");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1IsNull() {
            addCriterion("cpu_threshold1 is null");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1IsNotNull() {
            addCriterion("cpu_threshold1 is not null");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1EqualTo(Short value) {
            addCriterion("cpu_threshold1 =", value, "cpuThreshold1");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1NotEqualTo(Short value) {
            addCriterion("cpu_threshold1 <>", value, "cpuThreshold1");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1GreaterThan(Short value) {
            addCriterion("cpu_threshold1 >", value, "cpuThreshold1");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1GreaterThanOrEqualTo(Short value) {
            addCriterion("cpu_threshold1 >=", value, "cpuThreshold1");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1LessThan(Short value) {
            addCriterion("cpu_threshold1 <", value, "cpuThreshold1");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1LessThanOrEqualTo(Short value) {
            addCriterion("cpu_threshold1 <=", value, "cpuThreshold1");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1In(List<Short> values) {
            addCriterion("cpu_threshold1 in", values, "cpuThreshold1");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1NotIn(List<Short> values) {
            addCriterion("cpu_threshold1 not in", values, "cpuThreshold1");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1Between(Short value1, Short value2) {
            addCriterion("cpu_threshold1 between", value1, value2, "cpuThreshold1");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold1NotBetween(Short value1, Short value2) {
            addCriterion("cpu_threshold1 not between", value1, value2, "cpuThreshold1");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1IsNull() {
            addCriterion("mem_threshold1 is null");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1IsNotNull() {
            addCriterion("mem_threshold1 is not null");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1EqualTo(Short value) {
            addCriterion("mem_threshold1 =", value, "memThreshold1");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1NotEqualTo(Short value) {
            addCriterion("mem_threshold1 <>", value, "memThreshold1");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1GreaterThan(Short value) {
            addCriterion("mem_threshold1 >", value, "memThreshold1");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1GreaterThanOrEqualTo(Short value) {
            addCriterion("mem_threshold1 >=", value, "memThreshold1");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1LessThan(Short value) {
            addCriterion("mem_threshold1 <", value, "memThreshold1");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1LessThanOrEqualTo(Short value) {
            addCriterion("mem_threshold1 <=", value, "memThreshold1");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1In(List<Short> values) {
            addCriterion("mem_threshold1 in", values, "memThreshold1");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1NotIn(List<Short> values) {
            addCriterion("mem_threshold1 not in", values, "memThreshold1");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1Between(Short value1, Short value2) {
            addCriterion("mem_threshold1 between", value1, value2, "memThreshold1");
            return (Criteria) this;
        }

        public Criteria andMemThreshold1NotBetween(Short value1, Short value2) {
            addCriterion("mem_threshold1 not between", value1, value2, "memThreshold1");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1IsNull() {
            addCriterion("disk_threshold1 is null");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1IsNotNull() {
            addCriterion("disk_threshold1 is not null");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1EqualTo(Short value) {
            addCriterion("disk_threshold1 =", value, "diskThreshold1");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1NotEqualTo(Short value) {
            addCriterion("disk_threshold1 <>", value, "diskThreshold1");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1GreaterThan(Short value) {
            addCriterion("disk_threshold1 >", value, "diskThreshold1");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1GreaterThanOrEqualTo(Short value) {
            addCriterion("disk_threshold1 >=", value, "diskThreshold1");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1LessThan(Short value) {
            addCriterion("disk_threshold1 <", value, "diskThreshold1");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1LessThanOrEqualTo(Short value) {
            addCriterion("disk_threshold1 <=", value, "diskThreshold1");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1In(List<Short> values) {
            addCriterion("disk_threshold1 in", values, "diskThreshold1");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1NotIn(List<Short> values) {
            addCriterion("disk_threshold1 not in", values, "diskThreshold1");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1Between(Short value1, Short value2) {
            addCriterion("disk_threshold1 between", value1, value2, "diskThreshold1");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold1NotBetween(Short value1, Short value2) {
            addCriterion("disk_threshold1 not between", value1, value2, "diskThreshold1");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2IsNull() {
            addCriterion("cpu_threshold2 is null");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2IsNotNull() {
            addCriterion("cpu_threshold2 is not null");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2EqualTo(Short value) {
            addCriterion("cpu_threshold2 =", value, "cpuThreshold2");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2NotEqualTo(Short value) {
            addCriterion("cpu_threshold2 <>", value, "cpuThreshold2");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2GreaterThan(Short value) {
            addCriterion("cpu_threshold2 >", value, "cpuThreshold2");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2GreaterThanOrEqualTo(Short value) {
            addCriterion("cpu_threshold2 >=", value, "cpuThreshold2");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2LessThan(Short value) {
            addCriterion("cpu_threshold2 <", value, "cpuThreshold2");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2LessThanOrEqualTo(Short value) {
            addCriterion("cpu_threshold2 <=", value, "cpuThreshold2");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2In(List<Short> values) {
            addCriterion("cpu_threshold2 in", values, "cpuThreshold2");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2NotIn(List<Short> values) {
            addCriterion("cpu_threshold2 not in", values, "cpuThreshold2");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2Between(Short value1, Short value2) {
            addCriterion("cpu_threshold2 between", value1, value2, "cpuThreshold2");
            return (Criteria) this;
        }

        public Criteria andCpuThreshold2NotBetween(Short value1, Short value2) {
            addCriterion("cpu_threshold2 not between", value1, value2, "cpuThreshold2");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2IsNull() {
            addCriterion("mem_threshold2 is null");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2IsNotNull() {
            addCriterion("mem_threshold2 is not null");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2EqualTo(Short value) {
            addCriterion("mem_threshold2 =", value, "memThreshold2");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2NotEqualTo(Short value) {
            addCriterion("mem_threshold2 <>", value, "memThreshold2");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2GreaterThan(Short value) {
            addCriterion("mem_threshold2 >", value, "memThreshold2");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2GreaterThanOrEqualTo(Short value) {
            addCriterion("mem_threshold2 >=", value, "memThreshold2");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2LessThan(Short value) {
            addCriterion("mem_threshold2 <", value, "memThreshold2");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2LessThanOrEqualTo(Short value) {
            addCriterion("mem_threshold2 <=", value, "memThreshold2");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2In(List<Short> values) {
            addCriterion("mem_threshold2 in", values, "memThreshold2");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2NotIn(List<Short> values) {
            addCriterion("mem_threshold2 not in", values, "memThreshold2");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2Between(Short value1, Short value2) {
            addCriterion("mem_threshold2 between", value1, value2, "memThreshold2");
            return (Criteria) this;
        }

        public Criteria andMemThreshold2NotBetween(Short value1, Short value2) {
            addCriterion("mem_threshold2 not between", value1, value2, "memThreshold2");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2IsNull() {
            addCriterion("disk_threshold2 is null");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2IsNotNull() {
            addCriterion("disk_threshold2 is not null");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2EqualTo(Short value) {
            addCriterion("disk_threshold2 =", value, "diskThreshold2");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2NotEqualTo(Short value) {
            addCriterion("disk_threshold2 <>", value, "diskThreshold2");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2GreaterThan(Short value) {
            addCriterion("disk_threshold2 >", value, "diskThreshold2");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2GreaterThanOrEqualTo(Short value) {
            addCriterion("disk_threshold2 >=", value, "diskThreshold2");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2LessThan(Short value) {
            addCriterion("disk_threshold2 <", value, "diskThreshold2");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2LessThanOrEqualTo(Short value) {
            addCriterion("disk_threshold2 <=", value, "diskThreshold2");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2In(List<Short> values) {
            addCriterion("disk_threshold2 in", values, "diskThreshold2");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2NotIn(List<Short> values) {
            addCriterion("disk_threshold2 not in", values, "diskThreshold2");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2Between(Short value1, Short value2) {
            addCriterion("disk_threshold2 between", value1, value2, "diskThreshold2");
            return (Criteria) this;
        }

        public Criteria andDiskThreshold2NotBetween(Short value1, Short value2) {
            addCriterion("disk_threshold2 not between", value1, value2, "diskThreshold2");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentIsNull() {
            addCriterion("max_concurrent is null");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentIsNotNull() {
            addCriterion("max_concurrent is not null");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentEqualTo(Integer value) {
            addCriterion("max_concurrent =", value, "maxConcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentNotEqualTo(Integer value) {
            addCriterion("max_concurrent <>", value, "maxConcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentGreaterThan(Integer value) {
            addCriterion("max_concurrent >", value, "maxConcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentGreaterThanOrEqualTo(Integer value) {
            addCriterion("max_concurrent >=", value, "maxConcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentLessThan(Integer value) {
            addCriterion("max_concurrent <", value, "maxConcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentLessThanOrEqualTo(Integer value) {
            addCriterion("max_concurrent <=", value, "maxConcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentIn(List<Integer> values) {
            addCriterion("max_concurrent in", values, "maxConcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentNotIn(List<Integer> values) {
            addCriterion("max_concurrent not in", values, "maxConcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentBetween(Integer value1, Integer value2) {
            addCriterion("max_concurrent between", value1, value2, "maxConcurrent");
            return (Criteria) this;
        }

        public Criteria andMaxConcurrentNotBetween(Integer value1, Integer value2) {
            addCriterion("max_concurrent not between", value1, value2, "maxConcurrent");
            return (Criteria) this;
        }

        public Criteria andIzEnabledIsNull() {
            addCriterion("iz_enabled is null");
            return (Criteria) this;
        }

        public Criteria andIzEnabledIsNotNull() {
            addCriterion("iz_enabled is not null");
            return (Criteria) this;
        }

        public Criteria andIzEnabledEqualTo(String value) {
            addCriterion("iz_enabled =", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledNotEqualTo(String value) {
            addCriterion("iz_enabled <>", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledGreaterThan(String value) {
            addCriterion("iz_enabled >", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledGreaterThanOrEqualTo(String value) {
            addCriterion("iz_enabled >=", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledLessThan(String value) {
            addCriterion("iz_enabled <", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledLessThanOrEqualTo(String value) {
            addCriterion("iz_enabled <=", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledLike(String value) {
            addCriterion("iz_enabled like", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledNotLike(String value) {
            addCriterion("iz_enabled not like", value, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledIn(List<String> values) {
            addCriterion("iz_enabled in", values, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledNotIn(List<String> values) {
            addCriterion("iz_enabled not in", values, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledBetween(String value1, String value2) {
            addCriterion("iz_enabled between", value1, value2, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzEnabledNotBetween(String value1, String value2) {
            addCriterion("iz_enabled not between", value1, value2, "izEnabled");
            return (Criteria) this;
        }

        public Criteria andIzDeletedIsNull() {
            addCriterion("iz_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIzDeletedIsNotNull() {
            addCriterion("iz_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIzDeletedEqualTo(String value) {
            addCriterion("iz_deleted =", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedNotEqualTo(String value) {
            addCriterion("iz_deleted <>", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedGreaterThan(String value) {
            addCriterion("iz_deleted >", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedGreaterThanOrEqualTo(String value) {
            addCriterion("iz_deleted >=", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedLessThan(String value) {
            addCriterion("iz_deleted <", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedLessThanOrEqualTo(String value) {
            addCriterion("iz_deleted <=", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedLike(String value) {
            addCriterion("iz_deleted like", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedNotLike(String value) {
            addCriterion("iz_deleted not like", value, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedIn(List<String> values) {
            addCriterion("iz_deleted in", values, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedNotIn(List<String> values) {
            addCriterion("iz_deleted not in", values, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedBetween(String value1, String value2) {
            addCriterion("iz_deleted between", value1, value2, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andIzDeletedNotBetween(String value1, String value2) {
            addCriterion("iz_deleted not between", value1, value2, "izDeleted");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}